/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ykht.proj.coupon.entity.FxConfShop;
import com.ykht.proj.coupon.vo.FxConfRewardVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 *
 * @author proj code generator
 * @date 2021-02-03 13:57:01
 */
@Mapper
public interface FxConfShopMapper extends BaseMapper<FxConfShop> {

    void updateShop(@Param("id") Long id,@Param("shopNameList") String[] shopNameList);

	void deleteByConfId(Long id);

	List<Long> findByShopIdAndBrandId(@Param("shopIdList") String[] shopIdList,@Param("data") FxConfRewardVO fxConfRewardVo);

	List<Long> selectShopId(FxConfRewardVO fxConfRewardVo);

	void updateAllConfShop(Long id);

	void delByShopId(long parseLong);

	void delByShopIdAndConfId(@Param("p1") Long shopId,@Param("p2") Long id);

	void delConfById(@Param("fxConfRewardVo") FxConfRewardVO fxConfRewardVo);
}
